Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: move pre-rollout tasks to before templating/rollouts #377

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

shreddedbacon
Copy link
Member

This moves the pre-rollout tasks to run before the rollout takes place.

If a pre-rollout task needs to perform some action like putting a site into a mode to prevent traffic while the rollout takes place, running the pre-rollout tasks before the images are built and pushed can mean the site is in an unavailable state longer than needed. Running them after the images are built and pushed results in a shorter period.

The images being pushed does not mean that they are live yet, as this happens during the Apply Deployments phase of a build, and pre-rollout tasks will now run between Image Push and Templating Deployments. If pre-rollout tasks fail, there is no impact to the running environment as no deployment changes will have taken place.

closes #375

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run pre-rollout tasks later in the build - ie immediately before the rollout
2 participants